/*
    Exposure Render: An interactive photo-realistic volume rendering framework
    Copyright (C) 2011 Thomas Kroes

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

#include "ertracer.h"
#include "framebuffer.h"

#include <map>

using namespace std;

namespace ExposureRender
{

class Tracer : public ErTracer
{
public:
	HOST Tracer() :
		ErTracer(),
		FrameBuffer()
	{
	}

	HOST Tracer(const ErTracer& Other)
	{
		*this = Other;
	}

	HOST Tracer& Tracer::operator = (const ErTracer& Other)
	{
		ErTracer::operator=(Other);
		
		this->FrameBuffer.Resize(Other.Camera.FilmSize);

		return *this;
	}

	FrameBuffer	FrameBuffer;
};

}
